[INFO] cloning repository https://github.com/RamezEssam/cheng
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RamezEssam/cheng" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRamezEssam%2Fcheng", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRamezEssam%2Fcheng'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6c7caf059f8f42d75afe2149b5fd1391072bee22
[INFO] fixing RamezEssam/cheng against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRamezEssam%2Fcheng" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/RamezEssam/cheng
[INFO] finished tweaking git repo https://github.com/RamezEssam/cheng
[INFO] tweaked toml for git repo https://github.com/RamezEssam/cheng written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/RamezEssam/cheng on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/RamezEssam/cheng already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e83878cbb442fe27b546a070a3cb3865ff254b5e3da87823b4c524df1a1a8517
[INFO] running `Command { std: "docker" "start" "e83878cbb442fe27b546a070a3cb3865ff254b5e3da87823b4c524df1a1a8517", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e83878cbb442fe27b546a070a3cb3865ff254b5e3da87823b4c524df1a1a8517" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e83878cbb442fe27b546a070a3cb3865ff254b5e3da87823b4c524df1a1a8517", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e83878cbb442fe27b546a070a3cb3865ff254b5e3da87823b4c524df1a1a8517" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]     Checking regex-syntax v0.8.4
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking regex-automata v0.4.7
[INFO] [stderr]     Checking regex v1.10.6
[INFO] [stderr]     Checking cheng v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/main.rs (22 fixes)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/main.rs:801:42
[INFO] [stdout]     |
[INFO] [stdout] 801 |         if let Some(hash_entry) = ht.get(&HASH_KEY) {
[INFO] [stdout]     |                                          ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 801 |         if let Some(hash_entry) = ht.get(&raw const HASH_KEY) {
[INFO] [stdout]     |                                           +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:1570:39
[INFO] [stdout]      |
[INFO] [stdout] 1570 |         println!("\n     HASH: {:x}", HASH_KEY);
[INFO] [stdout]      |                                       ^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:3097:53
[INFO] [stdout]      |
[INFO] [stdout] 3097 |             let mut updated_enemy_piece_bitboards = PIECE_BITBOARDS.clone();
[INFO] [stdout]      |                                                     ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:3430:119
[INFO] [stdout]      |
[INFO] [stdout] 3430 |                     print!("info score mate {} depth {} nodes {} pv ", -(score + MATE_VALUE ) / 2 - 1, current_depth, NODES);
[INFO] [stdout]      |                                                                                                                       ^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:3432:117
[INFO] [stdout]      |
[INFO] [stdout] 3432 |                     print!("info score mate {} depth {} nodes {} pv ", (MATE_VALUE - score) / 2 + 1, current_depth, NODES);
[INFO] [stdout]      |                                                                                                                     ^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:3434:92
[INFO] [stdout]      |
[INFO] [stdout] 3434 |                     print!("info score cp {} depth {} nodes {} pv ", score, current_depth, NODES);
[INFO] [stdout]      |                                                                                            ^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:4392:66
[INFO] [stdout]      |
[INFO] [stdout] 4392 |         println!("time:{} start:{} stop:{} depth:{} timeset:{}", TIME, STARTTIME, STOPTIME, depth, TIMESET);
[INFO] [stdout]      |                                                                  ^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:4392:72
[INFO] [stdout]      |
[INFO] [stdout] 4392 |         println!("time:{} start:{} stop:{} depth:{} timeset:{}", TIME, STARTTIME, STOPTIME, depth, TIMESET);
[INFO] [stdout]      |                                                                        ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:4392:83
[INFO] [stdout]      |
[INFO] [stdout] 4392 |         println!("time:{} start:{} stop:{} depth:{} timeset:{}", TIME, STARTTIME, STOPTIME, depth, TIMESET);
[INFO] [stdout]      |                                                                                   ^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:4392:100
[INFO] [stdout]      |
[INFO] [stdout] 4392 |         println!("time:{} start:{} stop:{} depth:{} timeset:{}", TIME, STARTTIME, STOPTIME, depth, TIMESET);
[INFO] [stdout]      |                                                                                                    ^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/main.rs:801:42
[INFO] [stdout]     |
[INFO] [stdout] 801 |         if let Some(hash_entry) = ht.get(&HASH_KEY) {
[INFO] [stdout]     |                                          ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 801 |         if let Some(hash_entry) = ht.get(&raw const HASH_KEY) {
[INFO] [stdout]     |                                           +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:1570:39
[INFO] [stdout]      |
[INFO] [stdout] 1570 |         println!("\n     HASH: {:x}", HASH_KEY);
[INFO] [stdout]      |                                       ^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:3097:53
[INFO] [stdout]      |
[INFO] [stdout] 3097 |             let mut updated_enemy_piece_bitboards = PIECE_BITBOARDS.clone();
[INFO] [stdout]      |                                                     ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:3430:119
[INFO] [stdout]      |
[INFO] [stdout] 3430 |                     print!("info score mate {} depth {} nodes {} pv ", -(score + MATE_VALUE ) / 2 - 1, current_depth, NODES);
[INFO] [stdout]      |                                                                                                                       ^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:3432:117
[INFO] [stdout]      |
[INFO] [stdout] 3432 |                     print!("info score mate {} depth {} nodes {} pv ", (MATE_VALUE - score) / 2 + 1, current_depth, NODES);
[INFO] [stdout]      |                                                                                                                     ^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:3434:92
[INFO] [stdout]      |
[INFO] [stdout] 3434 |                     print!("info score cp {} depth {} nodes {} pv ", score, current_depth, NODES);
[INFO] [stdout]      |                                                                                            ^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:4392:66
[INFO] [stdout]      |
[INFO] [stdout] 4392 |         println!("time:{} start:{} stop:{} depth:{} timeset:{}", TIME, STARTTIME, STOPTIME, depth, TIMESET);
[INFO] [stdout]      |                                                                  ^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:4392:72
[INFO] [stdout]      |
[INFO] [stdout] 4392 |         println!("time:{} start:{} stop:{} depth:{} timeset:{}", TIME, STARTTIME, STOPTIME, depth, TIMESET);
[INFO] [stdout]      |                                                                        ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:4392:83
[INFO] [stdout]      |
[INFO] [stdout] 4392 |         println!("time:{} start:{} stop:{} depth:{} timeset:{}", TIME, STARTTIME, STOPTIME, depth, TIMESET);
[INFO] [stdout]      |                                                                                   ^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:4392:100
[INFO] [stdout]      |
[INFO] [stdout] 4392 |         println!("time:{} start:{} stop:{} depth:{} timeset:{}", TIME, STARTTIME, STOPTIME, depth, TIMESET);
[INFO] [stdout]      |                                                                                                    ^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.87s
[INFO] [stderr] crater-edition-check: cheng v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking cheng v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `libc::FILE`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use libc::FILE;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `libc::FILE`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use libc::FILE;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `bitboard` is never read
[INFO] [stdout]    --> src/main.rs:744:33
[INFO] [stdout]     |
[INFO] [stdout] 744 |         let mut bitboard: u64 = 0;
[INFO] [stdout]     |                                 ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 749 |             bitboard = PIECE_BITBOARDS[piece];
[INFO] [stdout]     |             --------------------------------- `bitboard` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/main.rs:2122:35
[INFO] [stdout]      |
[INFO] [stdout] 2122 | fn get_queen_attacks(square: u64, mut occupancy: u64)-> BitBoard {
[INFO] [stdout]      |                                   ----^^^^^^^^^
[INFO] [stdout]      |                                   |
[INFO] [stdout]      |                                   help: remove this `mut`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `queen_attacks` is never read
[INFO] [stdout]     --> src/main.rs:2124:39
[INFO] [stdout]      |
[INFO] [stdout] 2124 |     let mut queen_attacks: BitBoard = 0;
[INFO] [stdout]      |                                       ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 2140 |         queen_attacks = BISHOP_ATTACKS[square as usize][bishop_occupancy as usize];
[INFO] [stdout]      |         -------------------------------------------------------------------------- `queen_attacks` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `bitboard` is never read
[INFO] [stdout]    --> src/main.rs:744:33
[INFO] [stdout]     |
[INFO] [stdout] 744 |         let mut bitboard: u64 = 0;
[INFO] [stdout]     |                                 ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 749 |             bitboard = PIECE_BITBOARDS[piece];
[INFO] [stdout]     |             --------------------------------- `bitboard` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `source_square` is never read
[INFO] [stdout]     --> src/main.rs:2252:29
[INFO] [stdout]      |
[INFO] [stdout] 2252 |       let mut source_square = BoardSquare::no_sq as u64;
[INFO] [stdout]      |                               ^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 2385 | /                         source_square = match index_lsb(bitboard) {
[INFO] [stdout] 2386 | |                             Ok(val) => val as u64,
[INFO] [stdout] 2387 | |                             Err(_) => panic!(),
[INFO] [stdout] 2388 | |                         };
[INFO] [stdout]      | |_________________________- `source_square` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `target_square` is never read
[INFO] [stdout]     --> src/main.rs:2253:29
[INFO] [stdout]      |
[INFO] [stdout] 2253 |     let mut target_square = BoardSquare::no_sq as u64;
[INFO] [stdout]      |                             ^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 2391 |                         target_square = source_square - 8;
[INFO] [stdout]      |                         --------------------------------- `target_square` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `bitboard` is never read
[INFO] [stdout]     --> src/main.rs:2256:34
[INFO] [stdout]      |
[INFO] [stdout] 2256 |     let mut bitboard: BitBoard = 0;
[INFO] [stdout]      |                                  ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 2262 |             bitboard = PIECE_BITBOARDS[piece].clone();
[INFO] [stdout]      |             ----------------------------------------- `bitboard` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `attacks` is never read
[INFO] [stdout]     --> src/main.rs:2257:23
[INFO] [stdout]      |
[INFO] [stdout] 2257 |     let mut attacks = 0;
[INFO] [stdout]      |                       ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 2420 |                         attacks = PAWN_ATTACKS[SIDE as usize][source_square as usize] & OCCUPANCIES[PieceColor::WHITE as usize]; 
[INFO] [stdout]      |                         ------------------------------------------------------------------------------------------------------- `attacks` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `start_piece` is never read
[INFO] [stdout]     --> src/main.rs:2837:45
[INFO] [stdout]      |
[INFO] [stdout] 2837 |                 let mut start_piece:usize = 0;
[INFO] [stdout]      |                                             ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 2844 |                     start_piece = Piece::P as usize;
[INFO] [stdout]      |                     ------------------------------- `start_piece` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `end_piece` is never read
[INFO] [stdout]     --> src/main.rs:2838:43
[INFO] [stdout]      |
[INFO] [stdout] 2838 |                 let mut end_piece:usize = 0;
[INFO] [stdout]      |                                           ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 2845 |                     end_piece = Piece::K as usize;
[INFO] [stdout]      |                     ----------------------------- `end_piece` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `cnt` is never read
[INFO] [stdout]     --> src/main.rs:3028:19
[INFO] [stdout]      |
[INFO] [stdout] 3028 |     let mut cnt = 0;
[INFO] [stdout]      |                   ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 3048 |                 cnt = perft_driver(depth -1, false);
[INFO] [stdout]      |                 ----------------------------------- `cnt` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/main.rs:2122:35
[INFO] [stdout]      |
[INFO] [stdout] 2122 | fn get_queen_attacks(square: u64, mut occupancy: u64)-> BitBoard {
[INFO] [stdout]      |                                   ----^^^^^^^^^
[INFO] [stdout]      |                                   |
[INFO] [stdout]      |                                   help: remove this `mut`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `queen_attacks` is never read
[INFO] [stdout]     --> src/main.rs:2124:39
[INFO] [stdout]      |
[INFO] [stdout] 2124 |     let mut queen_attacks: BitBoard = 0;
[INFO] [stdout]      |                                       ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 2140 |         queen_attacks = BISHOP_ATTACKS[square as usize][bishop_occupancy as usize];
[INFO] [stdout]      |         -------------------------------------------------------------------------- `queen_attacks` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `score` is never read
[INFO] [stdout]     --> src/main.rs:3380:26
[INFO] [stdout]      |
[INFO] [stdout] 3380 |     let mut score: i32 = 0;
[INFO] [stdout]      |                          ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 3415 |         score = negamax(alpha, beta, current_depth, ht);
[INFO] [stdout]      |         ----------------------------------------------- `score` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `start_piece` is never read
[INFO] [stdout]     --> src/main.rs:3502:35
[INFO] [stdout]      |
[INFO] [stdout] 3502 |             let mut start_piece = 0;
[INFO] [stdout]      |                                   ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 3509 |                 start_piece = Piece::P as usize;
[INFO] [stdout]      |                 ------------------------------- `start_piece` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `end_piece` is never read
[INFO] [stdout]     --> src/main.rs:3503:33
[INFO] [stdout]      |
[INFO] [stdout] 3503 |             let mut end_piece = 0;
[INFO] [stdout]      |                                 ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 3510 |                 end_piece = Piece::K as usize;
[INFO] [stdout]      |                 ----------------------------- `end_piece` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `bitboard` is never read
[INFO] [stdout]     --> src/main.rs:3623:29
[INFO] [stdout]      |
[INFO] [stdout] 3623 |     let mut bitboard: u64 = 0;
[INFO] [stdout]      |                             ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 3633 |             bitboard = PIECE_BITBOARDS[bb_piece];
[INFO] [stdout]      |             ------------------------------------ `bitboard` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `square` is never read
[INFO] [stdout]     --> src/main.rs:3627:22
[INFO] [stdout]      |
[INFO] [stdout] 3627 |       let mut square = 0;
[INFO] [stdout]      |                        ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 3638 | /                 square = match index_lsb(bitboard) {
[INFO] [stdout] 3639 | |                     Ok(val) => val,
[INFO] [stdout] 3640 | |                     Err(_) => panic!(),
[INFO] [stdout] 3641 | |                 };
[INFO] [stdout]      | |_________________- `square` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `double_pawns` is never read
[INFO] [stdout]     --> src/main.rs:3629:33
[INFO] [stdout]      |
[INFO] [stdout] 3629 |     let mut double_pawns: i32 = 0;
[INFO] [stdout]      |                                 ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 3655 |                         double_pawns = count_bits(PIECE_BITBOARDS[Piece::P as usize] & FILE_MASKS[square]) as i32;
[INFO] [stdout]      |                         ----------------------------------------------------------------------------------------- `double_pawns` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `score` is never read
[INFO] [stdout]     --> src/main.rs:3977:30
[INFO] [stdout]      |
[INFO] [stdout] 3977 |         let mut score: i32 = 0;
[INFO] [stdout]      |                              ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 3992 |             score = val;
[INFO] [stdout]      |             ----------- `score` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `in_check` is never read
[INFO] [stdout]     --> src/main.rs:4019:34
[INFO] [stdout]      |
[INFO] [stdout] 4019 |         let mut in_check: bool = false;
[INFO] [stdout]      |                                  ^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 4034 |             in_check = is_square_attacked(king_square, PieceColor::WHITE as u64);
[INFO] [stdout]      |             -------------------------------------------------------------------- `in_check` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `source_square` is never read
[INFO] [stdout]     --> src/main.rs:2252:29
[INFO] [stdout]      |
[INFO] [stdout] 2252 |       let mut source_square = BoardSquare::no_sq as u64;
[INFO] [stdout]      |                               ^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 2385 | /                         source_square = match index_lsb(bitboard) {
[INFO] [stdout] 2386 | |                             Ok(val) => val as u64,
[INFO] [stdout] 2387 | |                             Err(_) => panic!(),
[INFO] [stdout] 2388 | |                         };
[INFO] [stdout]      | |_________________________- `source_square` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `target_square` is never read
[INFO] [stdout]     --> src/main.rs:2253:29
[INFO] [stdout]      |
[INFO] [stdout] 2253 |     let mut target_square = BoardSquare::no_sq as u64;
[INFO] [stdout]      |                             ^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 2391 |                         target_square = source_square - 8;
[INFO] [stdout]      |                         --------------------------------- `target_square` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `bitboard` is never read
[INFO] [stdout]     --> src/main.rs:2256:34
[INFO] [stdout]      |
[INFO] [stdout] 2256 |     let mut bitboard: BitBoard = 0;
[INFO] [stdout]      |                                  ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 2262 |             bitboard = PIECE_BITBOARDS[piece].clone();
[INFO] [stdout]      |             ----------------------------------------- `bitboard` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `attacks` is never read
[INFO] [stdout]     --> src/main.rs:2257:23
[INFO] [stdout]      |
[INFO] [stdout] 2257 |     let mut attacks = 0;
[INFO] [stdout]      |                       ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 2420 |                         attacks = PAWN_ATTACKS[SIDE as usize][source_square as usize] & OCCUPANCIES[PieceColor::WHITE as usize]; 
[INFO] [stdout]      |                         ------------------------------------------------------------------------------------------------------- `attacks` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `EMPTY_BOARD` is never used
[INFO] [stdout]    --> src/main.rs:126:8
[INFO] [stdout]     |
[INFO] [stdout] 126 | static EMPTY_BOARD: &str = "8/8/8/8/8/8/8/8 w - - ";
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `TRICKY_POSITION` is never used
[INFO] [stdout]    --> src/main.rs:128:8
[INFO] [stdout]     |
[INFO] [stdout] 128 | static TRICKY_POSITION: &str = "r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq - 0 1 ";
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `KILLER_POSITION` is never used
[INFO] [stdout]    --> src/main.rs:129:8
[INFO] [stdout]     |
[INFO] [stdout] 129 | static KILLER_POSITION: &str = "rnbqkb1r/pp1p1pPp/8/2p1pP2/1P1P4/3P3P/P1P1P3/RNBQKBNR w KQkq e6 0 1";
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `CMK_POSITION` is never used
[INFO] [stdout]    --> src/main.rs:130:8
[INFO] [stdout]     |
[INFO] [stdout] 130 | static CMK_POSITION: &str = "r2q1rk1/ppp2ppp/2n1bn2/2b1p3/3pP3/3P1NPP/PPP1NPB1/R1BQ1RK1 b - - 0 9 ";
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `MATERIAL_SCORE` is never used
[INFO] [stdout]    --> src/main.rs:133:8
[INFO] [stdout]     |
[INFO] [stdout] 133 | static MATERIAL_SCORE: [i32; 12] = [
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `PAWN_SCORE` is never used
[INFO] [stdout]    --> src/main.rs:150:8
[INFO] [stdout]     |
[INFO] [stdout] 150 | static PAWN_SCORE: [i32; 64] = [
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `KNIGHT_SCORE` is never used
[INFO] [stdout]    --> src/main.rs:162:8
[INFO] [stdout]     |
[INFO] [stdout] 162 | static KNIGHT_SCORE: [i32; 64] = [
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `BISHOP_SCORE` is never used
[INFO] [stdout]    --> src/main.rs:174:9
[INFO] [stdout]     |
[INFO] [stdout] 174 | static  BISHOP_SCORE: [i32; 64] = [
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `ROOK_SCORE` is never used
[INFO] [stdout]    --> src/main.rs:186:9
[INFO] [stdout]     |
[INFO] [stdout] 186 | static  ROOK_SCORE: [i32; 64] = [
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `KING_SCORE` is never used
[INFO] [stdout]    --> src/main.rs:198:9
[INFO] [stdout]     |
[INFO] [stdout] 198 | static  KING_SCORE: [i32; 64] = [
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `DOUBLE_PAWN_PENALTY` is never used
[INFO] [stdout]    --> src/main.rs:309:8
[INFO] [stdout]     |
[INFO] [stdout] 309 | static DOUBLE_PAWN_PENALTY: i32 = -10;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `ISOLATED_PAWN_PENALTY` is never used
[INFO] [stdout]    --> src/main.rs:314:8
[INFO] [stdout]     |
[INFO] [stdout] 314 | static ISOLATED_PAWN_PENALTY: i32 = -10;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_magic_number` is never used
[INFO] [stdout]     --> src/main.rs:1088:4
[INFO] [stdout]      |
[INFO] [stdout] 1088 | fn generate_magic_number() -> u64 {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_magic_number` is never used
[INFO] [stdout]     --> src/main.rs:1093:4
[INFO] [stdout]      |
[INFO] [stdout] 1093 | fn find_magic_number(square: u64, relevant_bits: u32, bishop_flag: u8) -> u64 {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_magic_numbers` is never used
[INFO] [stdout]     --> src/main.rs:1166:4
[INFO] [stdout]      |
[INFO] [stdout] 1166 | fn init_magic_numbers() {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_bitboard` is never used
[INFO] [stdout]     --> src/main.rs:1475:4
[INFO] [stdout]      |
[INFO] [stdout] 1475 | fn print_bitboard(board: BitBoard) {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_attacked_squares` is never used
[INFO] [stdout]     --> src/main.rs:2224:4
[INFO] [stdout]      |
[INFO] [stdout] 2224 | fn print_attacked_squares(side: u64){
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `perft_driver` is never used
[INFO] [stdout]     --> src/main.rs:3027:4
[INFO] [stdout]      |
[INFO] [stdout] 3027 | fn perft_driver(depth: u64, root: bool) -> usize {
[INFO] [stdout]      |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sort_moves` is never used
[INFO] [stdout]     --> src/main.rs:3872:4
[INFO] [stdout]      |
[INFO] [stdout] 3872 | fn sort_moves(move_list: &mut Vec<u64>) {
[INFO] [stdout]      |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/main.rs:801:42
[INFO] [stdout]     |
[INFO] [stdout] 801 |         if let Some(hash_entry) = ht.get(&HASH_KEY) {
[INFO] [stdout]     |                                          ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 801 |         if let Some(hash_entry) = ht.get(&raw const HASH_KEY) {
[INFO] [stdout]     |                                           +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `start_piece` is never read
[INFO] [stdout]     --> src/main.rs:2837:45
[INFO] [stdout]      |
[INFO] [stdout] 2837 |                 let mut start_piece:usize = 0;
[INFO] [stdout]      |                                             ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 2844 |                     start_piece = Piece::P as usize;
[INFO] [stdout]      |                     ------------------------------- `start_piece` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:1570:39
[INFO] [stdout]      |
[INFO] [stdout] 1570 |         println!("\n     HASH: {:x}", HASH_KEY);
[INFO] [stdout]      |                                       ^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `end_piece` is never read
[INFO] [stdout]     --> src/main.rs:2838:43
[INFO] [stdout]      |
[INFO] [stdout] 2838 |                 let mut end_piece:usize = 0;
[INFO] [stdout]      |                                           ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 2845 |                     end_piece = Piece::K as usize;
[INFO] [stdout]      |                     ----------------------------- `end_piece` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `cnt` is never read
[INFO] [stdout]     --> src/main.rs:3028:19
[INFO] [stdout]      |
[INFO] [stdout] 3028 |     let mut cnt = 0;
[INFO] [stdout]      |                   ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 3048 |                 cnt = perft_driver(depth -1, false);
[INFO] [stdout]      |                 ----------------------------------- `cnt` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:3097:53
[INFO] [stdout]      |
[INFO] [stdout] 3097 |             let mut updated_enemy_piece_bitboards = PIECE_BITBOARDS.clone();
[INFO] [stdout]      |                                                     ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:3430:119
[INFO] [stdout]      |
[INFO] [stdout] 3430 |                     print!("info score mate {} depth {} nodes {} pv ", -(score + MATE_VALUE ) / 2 - 1, current_depth, NODES);
[INFO] [stdout]      |                                                                                                                       ^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:3432:117
[INFO] [stdout]      |
[INFO] [stdout] 3432 |                     print!("info score mate {} depth {} nodes {} pv ", (MATE_VALUE - score) / 2 + 1, current_depth, NODES);
[INFO] [stdout]      |                                                                                                                     ^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:3434:92
[INFO] [stdout]      |
[INFO] [stdout] 3434 |                     print!("info score cp {} depth {} nodes {} pv ", score, current_depth, NODES);
[INFO] [stdout]      |                                                                                            ^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:4392:66
[INFO] [stdout]      |
[INFO] [stdout] 4392 |         println!("time:{} start:{} stop:{} depth:{} timeset:{}", TIME, STARTTIME, STOPTIME, depth, TIMESET);
[INFO] [stdout]      |                                                                  ^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:4392:72
[INFO] [stdout]      |
[INFO] [stdout] 4392 |         println!("time:{} start:{} stop:{} depth:{} timeset:{}", TIME, STARTTIME, STOPTIME, depth, TIMESET);
[INFO] [stdout]      |                                                                        ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:4392:83
[INFO] [stdout]      |
[INFO] [stdout] 4392 |         println!("time:{} start:{} stop:{} depth:{} timeset:{}", TIME, STARTTIME, STOPTIME, depth, TIMESET);
[INFO] [stdout]      |                                                                                   ^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:4392:100
[INFO] [stdout]      |
[INFO] [stdout] 4392 |         println!("time:{} start:{} stop:{} depth:{} timeset:{}", TIME, STARTTIME, STOPTIME, depth, TIMESET);
[INFO] [stdout]      |                                                                                                    ^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `score` is never read
[INFO] [stdout]     --> src/main.rs:3380:26
[INFO] [stdout]      |
[INFO] [stdout] 3380 |     let mut score: i32 = 0;
[INFO] [stdout]      |                          ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 3415 |         score = negamax(alpha, beta, current_depth, ht);
[INFO] [stdout]      |         ----------------------------------------------- `score` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `start_piece` is never read
[INFO] [stdout]     --> src/main.rs:3502:35
[INFO] [stdout]      |
[INFO] [stdout] 3502 |             let mut start_piece = 0;
[INFO] [stdout]      |                                   ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 3509 |                 start_piece = Piece::P as usize;
[INFO] [stdout]      |                 ------------------------------- `start_piece` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `end_piece` is never read
[INFO] [stdout]     --> src/main.rs:3503:33
[INFO] [stdout]      |
[INFO] [stdout] 3503 |             let mut end_piece = 0;
[INFO] [stdout]      |                                 ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 3510 |                 end_piece = Piece::K as usize;
[INFO] [stdout]      |                 ----------------------------- `end_piece` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `bitboard` is never read
[INFO] [stdout]     --> src/main.rs:3623:29
[INFO] [stdout]      |
[INFO] [stdout] 3623 |     let mut bitboard: u64 = 0;
[INFO] [stdout]      |                             ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 3633 |             bitboard = PIECE_BITBOARDS[bb_piece];
[INFO] [stdout]      |             ------------------------------------ `bitboard` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `square` is never read
[INFO] [stdout]     --> src/main.rs:3627:22
[INFO] [stdout]      |
[INFO] [stdout] 3627 |       let mut square = 0;
[INFO] [stdout]      |                        ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 3638 | /                 square = match index_lsb(bitboard) {
[INFO] [stdout] 3639 | |                     Ok(val) => val,
[INFO] [stdout] 3640 | |                     Err(_) => panic!(),
[INFO] [stdout] 3641 | |                 };
[INFO] [stdout]      | |_________________- `square` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `double_pawns` is never read
[INFO] [stdout]     --> src/main.rs:3629:33
[INFO] [stdout]      |
[INFO] [stdout] 3629 |     let mut double_pawns: i32 = 0;
[INFO] [stdout]      |                                 ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 3655 |                         double_pawns = count_bits(PIECE_BITBOARDS[Piece::P as usize] & FILE_MASKS[square]) as i32;
[INFO] [stdout]      |                         ----------------------------------------------------------------------------------------- `double_pawns` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cheng` (bin "cheng") due to 10 previous errors; 38 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: value assigned to `score` is never read
[INFO] [stdout]     --> src/main.rs:3977:30
[INFO] [stdout]      |
[INFO] [stdout] 3977 |         let mut score: i32 = 0;
[INFO] [stdout]      |                              ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 3992 |             score = val;
[INFO] [stdout]      |             ----------- `score` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `in_check` is never read
[INFO] [stdout]     --> src/main.rs:4019:34
[INFO] [stdout]      |
[INFO] [stdout] 4019 |         let mut in_check: bool = false;
[INFO] [stdout]      |                                  ^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 4034 |             in_check = is_square_attacked(king_square, PieceColor::WHITE as u64);
[INFO] [stdout]      |             -------------------------------------------------------------------- `in_check` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `EMPTY_BOARD` is never used
[INFO] [stdout]    --> src/main.rs:126:8
[INFO] [stdout]     |
[INFO] [stdout] 126 | static EMPTY_BOARD: &str = "8/8/8/8/8/8/8/8 w - - ";
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `TRICKY_POSITION` is never used
[INFO] [stdout]    --> src/main.rs:128:8
[INFO] [stdout]     |
[INFO] [stdout] 128 | static TRICKY_POSITION: &str = "r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq - 0 1 ";
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `KILLER_POSITION` is never used
[INFO] [stdout]    --> src/main.rs:129:8
[INFO] [stdout]     |
[INFO] [stdout] 129 | static KILLER_POSITION: &str = "rnbqkb1r/pp1p1pPp/8/2p1pP2/1P1P4/3P3P/P1P1P3/RNBQKBNR w KQkq e6 0 1";
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `CMK_POSITION` is never used
[INFO] [stdout]    --> src/main.rs:130:8
[INFO] [stdout]     |
[INFO] [stdout] 130 | static CMK_POSITION: &str = "r2q1rk1/ppp2ppp/2n1bn2/2b1p3/3pP3/3P1NPP/PPP1NPB1/R1BQ1RK1 b - - 0 9 ";
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `MATERIAL_SCORE` is never used
[INFO] [stdout]    --> src/main.rs:133:8
[INFO] [stdout]     |
[INFO] [stdout] 133 | static MATERIAL_SCORE: [i32; 12] = [
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `PAWN_SCORE` is never used
[INFO] [stdout]    --> src/main.rs:150:8
[INFO] [stdout]     |
[INFO] [stdout] 150 | static PAWN_SCORE: [i32; 64] = [
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `KNIGHT_SCORE` is never used
[INFO] [stdout]    --> src/main.rs:162:8
[INFO] [stdout]     |
[INFO] [stdout] 162 | static KNIGHT_SCORE: [i32; 64] = [
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `BISHOP_SCORE` is never used
[INFO] [stdout]    --> src/main.rs:174:9
[INFO] [stdout]     |
[INFO] [stdout] 174 | static  BISHOP_SCORE: [i32; 64] = [
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `ROOK_SCORE` is never used
[INFO] [stdout]    --> src/main.rs:186:9
[INFO] [stdout]     |
[INFO] [stdout] 186 | static  ROOK_SCORE: [i32; 64] = [
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `KING_SCORE` is never used
[INFO] [stdout]    --> src/main.rs:198:9
[INFO] [stdout]     |
[INFO] [stdout] 198 | static  KING_SCORE: [i32; 64] = [
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `DOUBLE_PAWN_PENALTY` is never used
[INFO] [stdout]    --> src/main.rs:309:8
[INFO] [stdout]     |
[INFO] [stdout] 309 | static DOUBLE_PAWN_PENALTY: i32 = -10;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `ISOLATED_PAWN_PENALTY` is never used
[INFO] [stdout]    --> src/main.rs:314:8
[INFO] [stdout]     |
[INFO] [stdout] 314 | static ISOLATED_PAWN_PENALTY: i32 = -10;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_magic_number` is never used
[INFO] [stdout]     --> src/main.rs:1088:4
[INFO] [stdout]      |
[INFO] [stdout] 1088 | fn generate_magic_number() -> u64 {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_magic_number` is never used
[INFO] [stdout]     --> src/main.rs:1093:4
[INFO] [stdout]      |
[INFO] [stdout] 1093 | fn find_magic_number(square: u64, relevant_bits: u32, bishop_flag: u8) -> u64 {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_magic_numbers` is never used
[INFO] [stdout]     --> src/main.rs:1166:4
[INFO] [stdout]      |
[INFO] [stdout] 1166 | fn init_magic_numbers() {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_bitboard` is never used
[INFO] [stdout]     --> src/main.rs:1475:4
[INFO] [stdout]      |
[INFO] [stdout] 1475 | fn print_bitboard(board: BitBoard) {
[INFO] [stdout]      |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_attacked_squares` is never used
[INFO] [stdout]     --> src/main.rs:2224:4
[INFO] [stdout]      |
[INFO] [stdout] 2224 | fn print_attacked_squares(side: u64){
[INFO] [stdout]      |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `perft_driver` is never used
[INFO] [stdout]     --> src/main.rs:3027:4
[INFO] [stdout]      |
[INFO] [stdout] 3027 | fn perft_driver(depth: u64, root: bool) -> usize {
[INFO] [stdout]      |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `sort_moves` is never used
[INFO] [stdout]     --> src/main.rs:3872:4
[INFO] [stdout]      |
[INFO] [stdout] 3872 | fn sort_moves(move_list: &mut Vec<u64>) {
[INFO] [stdout]      |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/main.rs:801:42
[INFO] [stdout]     |
[INFO] [stdout] 801 |         if let Some(hash_entry) = ht.get(&HASH_KEY) {
[INFO] [stdout]     |                                          ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw const` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 801 |         if let Some(hash_entry) = ht.get(&raw const HASH_KEY) {
[INFO] [stdout]     |                                           +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:1570:39
[INFO] [stdout]      |
[INFO] [stdout] 1570 |         println!("\n     HASH: {:x}", HASH_KEY);
[INFO] [stdout]      |                                       ^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:3097:53
[INFO] [stdout]      |
[INFO] [stdout] 3097 |             let mut updated_enemy_piece_bitboards = PIECE_BITBOARDS.clone();
[INFO] [stdout]      |                                                     ^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:3430:119
[INFO] [stdout]      |
[INFO] [stdout] 3430 |                     print!("info score mate {} depth {} nodes {} pv ", -(score + MATE_VALUE ) / 2 - 1, current_depth, NODES);
[INFO] [stdout]      |                                                                                                                       ^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:3432:117
[INFO] [stdout]      |
[INFO] [stdout] 3432 |                     print!("info score mate {} depth {} nodes {} pv ", (MATE_VALUE - score) / 2 + 1, current_depth, NODES);
[INFO] [stdout]      |                                                                                                                     ^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:3434:92
[INFO] [stdout]      |
[INFO] [stdout] 3434 |                     print!("info score cp {} depth {} nodes {} pv ", score, current_depth, NODES);
[INFO] [stdout]      |                                                                                            ^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:4392:66
[INFO] [stdout]      |
[INFO] [stdout] 4392 |         println!("time:{} start:{} stop:{} depth:{} timeset:{}", TIME, STARTTIME, STOPTIME, depth, TIMESET);
[INFO] [stdout]      |                                                                  ^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:4392:72
[INFO] [stdout]      |
[INFO] [stdout] 4392 |         println!("time:{} start:{} stop:{} depth:{} timeset:{}", TIME, STARTTIME, STOPTIME, depth, TIMESET);
[INFO] [stdout]      |                                                                        ^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:4392:83
[INFO] [stdout]      |
[INFO] [stdout] 4392 |         println!("time:{} start:{} stop:{} depth:{} timeset:{}", TIME, STARTTIME, STOPTIME, depth, TIMESET);
[INFO] [stdout]      |                                                                                   ^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]     --> src/main.rs:4392:100
[INFO] [stdout]      |
[INFO] [stdout] 4392 |         println!("time:{} start:{} stop:{} depth:{} timeset:{}", TIME, STARTTIME, STOPTIME, depth, TIMESET);
[INFO] [stdout]      |                                                                                                    ^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cheng` (bin "cheng" test) due to 10 previous errors; 38 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e83878cbb442fe27b546a070a3cb3865ff254b5e3da87823b4c524df1a1a8517", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e83878cbb442fe27b546a070a3cb3865ff254b5e3da87823b4c524df1a1a8517", kill_on_drop: false }`
[INFO] [stdout] e83878cbb442fe27b546a070a3cb3865ff254b5e3da87823b4c524df1a1a8517
